<?php

header("Content-Type:text/html; charset=gb2312");

require "./include/common.inc.php";

if (submitcheck('coursename'))
{
	$coursename = iconv("UTF-8", "gb2312", $coursename);
	$timeMode = iconv("UTF-8", "gb2312", $timeMode);
	$timeInput = iconv("UTF-8", "gb2312", $timeInput);
	$courseSet = SearchCourse($coursename, $searchmethod, $timeMode, ParseTimeString($timeInput));
	$recordNum = count($courseSet);
	
	include template("coursetree");

}

?>